package com.myway.common.ibe;

import com.travelsky.ibe.client.AV;
import com.travelsky.ibe.client.AvResult;
import lombok.extern.slf4j.Slf4j;

import java.util.Map;

/**
 * Created by yufei on 2017/11/8.
 * 查询航班
 */
@Slf4j
public class SearchFlightCommand extends BaseIBECommand {
    @Override
    public void execute(Map<String, Object> params) {

        //查询航班信息 使用指令AV
        AV av = new AV();
        //连接IBE系统
        this.configIBEClient(av);
        //查询航班
        AvResult ar = null;
        try {
            ar = av.getAvailability("","","","",false);
        }catch (Exception e){

        }
    }
}
